<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
	String path = request.getContextPath();
  	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
  %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=title%></title>
<base href="<%=basePath%>">
<meta name="robots content="all" />
<meta content="jipinceo@163.com,sgwood" name="author" />
<meta content="SGblog CopyRight 2007" name="Copyright" />
<meta content="Blog,JSP,SGblog,web,standards,xhtml,css,layout,w3c" name="keywords" />
<meta  name="description"content="SGblog" />
<link rev=stylesheet media=all href="css/global.css" type=text/css rel=stylesheet>
<link rev=stylesheet media=all href="css/layout.css" type=text/css rel=stylesheet>
<link rev=stylesheet media=all href="css/typography.css" type=text/css rel=stylesheet>
<link rev=stylesheet media=all href="css/link.css" type=text/css rel=stylesheet>
<link href="images/favicon.ico" type=image/x-icon rel=icon>
<link href="images/favicon.ico" type=image/x-icon rel="shortcut icon">
</head>
<%	

if(session.getAttribute("login_user")==null) {
		Cookie[] cookies=request.getCookies();
		if(cookies!=null){
		for(int i=0;i<cookies.length;i++) {
		if(cookies[i].getName().equals("loginuser@sgblog.com")) {
			session.setAttribute("login_user",cookies[i].getValue());
						}
		if(cookies[i].getName().equals("loginuserpwd@sgblog.com")) {
			session.setAttribute("password",cookies[i].getValue());
						}
				}
			}
		}
	%>
